package com.yyy.entity;

/**
 * @Author：yyy
 * @Package：com.yyy.entity
 * @Project：HuTuBiill
 * @name：Category
 * @Date：2024/11/9 21:34
 * @Filename：Category
 * Category对应的entity
 */
public class Category {
    public int id;
    public String name;
    public int recordNumber;//改字段是从record表中获取的

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRecordNumber() {
        return recordNumber;
    }

    public void setRecordNumber(int recordNumber) {
        this.recordNumber = recordNumber;
    }
    public String toString(){
        return name;
    }
}
